﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace mySite.Core.Model
{
    public class Post
    {
        public long Id { get; set; }
        public string Title { get; set; }
        public string Body { get; set; }
        public string Excerpt { get; set; }
        public PostCategory Category { get; set; }
        public User Author { get; set; }
        public DateTime CreatedAt { get; set; }
        public DateTime? Published { get; set; }
        public IEnumerable<PostComment> Comments { get; set; }
        public IEnumerable<PostTag> Tags { get; set; }
        public bool IsCommentDisabled { get; set; }
    }
}
